This Method Doesn't Return a Value Error
You used a method in an expression as though it returned a value, but it doesn't.
Example
The user-written method myColor is not a function, so this syntax in a calling method is not correct
:
See Also
Function, Return, Sub statements.